package com.mengfx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class LoginController {
	
	@RequestMapping("/login")
	public String login(@RequestParam String password){
		if(password.equals("fanmengmoekou")){
			 return "redirect:/home/banner";
		}else{
			return "redirect:/";
		}
	}
}
